import { useCompanyInfo } from '../Header/hook'
import { StyledPageFooter } from './style'
const FooterView = () => {
	const { companyInfo } = useCompanyInfo()
	// TODO：这里直接取得kedacom下的，后面应该会判断取值
	return (
		<StyledPageFooter className="footer-wrap">
			<span className="companyName">{companyInfo.companyName}</span>
			<span className="copyright">{companyInfo.copyRight}</span>
		</StyledPageFooter>
	)
}
export default FooterView
